package com.yearner.reviewplan.user.commands;

import lombok.Getter;
import lombok.Setter;

/**
 * @author pengyg
 * @since 2019/10/18
 */
@Getter
@Setter
public class ChangeCycleCommand {
    private Double[] cycle;
    private ChangeCycleCommand(){}

    public static ChangeCycleCommand create(Double[] cycle) {
        ChangeCycleCommand command = new ChangeCycleCommand();
        command.setCycle(cycle);
        return command;
    }
}
